import 'package:basic_common/common_exports.dart';
import 'package:basic_profile/chilidview/authinfo/authinfo_controller.dart';
import 'package:basic_widgets/input_widget.dart';

class AuthIdentityView extends GetView<AuthInfoController> {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Column(
        children: [
          buildBaseInfoItem(
              attrName: '所属医院',
              value: controller.doctorInfo!.hospitalName! ?? ''),
          buildBaseInfoItem(
              attrName: '科室', value: controller.doctorInfo!.deptName01! ?? ''),
          buildBaseInfoItem(
              attrName: '职称', value: controller.doctorInfo!.titleName! ?? ''),
          buildBaseInfoItem(
              attrName: '职务', value: controller.doctorInfo!.dutyName! ?? ''),
        ],
      ),
    );
  }
}
